from django.conf.urls import url

from . import views
urlpatterns = [
    # path('admin/', admin.site.urls),

    url(r'users/index', views.index),

    # 自定义请求头
    url(r'users/response_header/$', views.response_header),
    # Json 对象返回
    url(r'users/json_responsed/$', views.json_responsed),
    # session存放到 Redis 中
    url(r'users/session_demo$', views.session_demo),
]